package com.twu.biblioteca.io;

import java.util.Scanner;

public class ConsoleIO implements IO {

    private Scanner scanner = new Scanner(System.in);

    @Override
    public String promptForInput(String message) {
        System.out.print(message + " ");
        return scanner.next();
    }

    @Override
    public void writeOutput(Object output) {
        System.out.println(output.toString());
    }

}
